package com.fuze.questionnaire.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author sepc_
 * @date 10/15/2021 12:00
 * 选项表实体
 */
@ApiModel(value = "options_tab")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "options_tab")
public class Options implements Serializable {
    private static final long serialVersionUID = -2661952702478932460L;
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "自增主键")
    private Integer id;

    /**
     * 选项内容
     */
    @TableField(value = "`options`")
    @ApiModelProperty(value = "选项内容")
    private String options;


    public static final String COL_ID = "id";

    public static final String COL_OPTIONS = "options";
}